﻿using System;
using System.Collections.Generic;

namespace HYRElectric.SystemDiagram
{
	public class LoadComparer : IComparer<Phase>
	{
		public int Compare(Phase x, Phase y)
		{
			if (x.value < y.value)
			{
				return 1;
			}
			return -1;
		}
	}
}
